package com.platform.wechat.service;

import com.platform.wechat.common.JsonBean;
import org.apache.ibatis.annotations.Param;

/**
 * @author YP
 * @company ~~
 * @create 2021-07-31 17:23
 */
public interface DoctorService {

    /**
    * @Description: 根据时间查询医生信息
    * @Param: [time]
    * @return: com.platform.wechat.common.JsonBean
    * @Author: YP
    * @Date: 2021/7/31
    * @Time: 20:10
    */
    JsonBean selectDoctorByWorkingTime(String time);

    /**
    * @Description: 根据id查询医生
    * @Param: [id]
    * @return: com.platform.wechat.common.JsonBean
    * @Author: YP
    * @Date: 2021/7/31
    * @Time: 17:24
    */
    JsonBean selectDoctorById(Integer id);

    /**
    * @Description: 根据id查询医生医院信息与科室信息
    * @Param: [id]
    * @return: com.platform.wechat.common.JsonBean
    * @Author: YP
    * @Date: 2021/8/2
    * @Time: 10:58
    */
    JsonBean selectDoctorForReg(Integer id);

    /** 
    * @Description:  根据医院Id和科室Id查医生集合
    * @Param: [hospitalId, officesId] 
    * @return: com.platform.wechat.common.JsonBean 
    * @Author: guopeixin
    * @Date: 2021/8/2 21:59
    */
    JsonBean selectDoctorByHosAndOffId(Integer hospitalId, Integer officesId);

    /** 
    * @Description: 根据医院Id和科室Id查医生集合,医生ID查工作时间
    * @Param: [hospitalId, officesId, doctorId] 
    * @return: com.platform.wechat.common.JsonBean 
    * @Author: guopeixin
    * @Date: 2021/8/3 10:41
    */
    JsonBean selectDoctorByHosAndOffIdAndDoctorId(Integer hospitalId, Integer officesId, Integer doctorId);
    
    /** 
    * @Description: 时间段中有工作安排的医生 
    * @Param: [hospitalId, officesId, doctorId] 
    * @return: com.platform.wechat.common.JsonBean 
    * @Author: guopeixin
    * @Date: 2021/8/3 14:47
    */
    JsonBean selectWorkDoctors(Integer hospitalId, Integer officesId, Integer doctorId);

}
